package br.com.tiespec.ejb.EjbInterface;

import java.io.Serializable;
import java.util.List;

import br.com.tiespec.model.Enum.TipoSortOrder;
import br.com.tiespec.model.Modelo.Ator;
import br.com.tiespec.model.Util.RNException;

public interface AtorInterface extends Serializable {

	public abstract List<Ator> listarAtor(int first, int pageSize, String sortField, 
			TipoSortOrder sortOrder, Long idClientePortal, String nome);

	public abstract Integer countAtor(Long idClientePortal, String nome);
	
	public abstract Ator selecionarAtor(Long id);
	
	public abstract void removerAtor(Long id) throws RNException;

	public abstract void atualizarAtor(Ator atorInstance) throws RNException;

	public abstract void salvarAtor(Ator atorInstance) throws RNException;
	
	public abstract Boolean validateNomeUnico(String nome, Long idClientePortal, Long id);
	
}